package com.voltmao.webpro.frame.view;

import com.voltmao.webpro.frame.dto.DataPage;
import com.voltmao.webpro.frame.exception.WebProViewException;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by zhouyang on 2017/7/21.
 * (表格视图)的实现接口
 */
public interface IGridListView {
    /**
     * 查询表格数据
     *
     * @return
     */
    DataPage gridSearchPageData(HttpServletRequest request) throws WebProViewException;

    /**
     * 设置页面加载的默认数据
     *
     * @param request
     * @return
     * @throws WebProViewException
     */
    Object gridPageDefalutInfo(HttpServletRequest request) throws WebProViewException;
}
